{extend name='public/base' /}

{block name="content"}
<style type="text/css">
    html {
        background-color: #fff !important;
    }
    .center{
        align-items: center;
        text-align: center;
    }
</style>
<div class="layui-col-md12">
    <div class="layui-card">
        <div class="layui-card-body">
            <div style=" width:800px;">
                
                <div style="display: flex;justify-content:space-between;">
                    <div style="display: flex;flex-wrap: wrap;">相关图片：
                        {if $list['images']}
                        {foreach $list['images'] as $v}
                        <img src="{$v}" alt="" style="width: 230px;height: 230px;margin-right: 10px;margin-bottom: 10px;">
                        {/foreach}
                        {/if}
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</div>
{/block}

{block name="js"} <!--js处理区-->


<script>
    layui.use(['element', 'table', 'form', 'jquery', 'lucky', 'opTable'], function () {
        var element = layui.element;
        var form = layui.form;
        var table = layui.table;
        var $ = layui.jquery;
        var lucky = layui.lucky;
        var opTable = layui.opTable;
        form.render();

        /**
         * 关键词搜索树
         */
        form.on('submit(search)', function (obj) {
            lucky.CreateSearch(obj.field);
            return false;
        });
    });

</script>

{/block}
